#ifndef __sensor__calibration_h__
#define __sensor__calibration_h__

#include <roboard_drivers/adc_val.h>

#include "ros/ros.h"
#include <vector>

class Calibration
{
public:
	Calibration(int argc, char **argv);
	~Calibration();

private:
	void receiveADC(const roboard_drivers::adc_val::ConstPtr &msg);

	ros::Subscriber adc_subscriber;

	std::vector<int> adc_values;
	unsigned int sensor_num;
	unsigned int measurements_per_distance;
	float distance_step;
	bool store_adc_values;
	bool skip_first;
};

#endif
